package io.renren.modules.banner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.banner.entity.BannerEntity;

import java.util.Map;

/**
 * Created by dell on 2021/8/11.
 */
public interface BannerService extends IService<BannerEntity> {
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存
     * */
    void saveBanner(BannerEntity banner);

    /**
     * 删除
     * */
    void deleteBatch(Long[] bannerIds);

    /***
     * 修改
     */
    void update(BannerEntity banner);

}
